package com.haikesi.api.organization.domain.po;

import com.haikesi.api.base.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;
import javax.persistence.*;
@Table(name = "organization")
@Data
@EqualsAndHashCode(callSuper = false)
public class OrganizationPO extends BaseEntity {
    /**
     * 组织机构名称
     */
    @Column(name = "organization_name")
    private String organizationName;

    /**
     * 父级组织机构ID
     */
    @Column(name = "parent_id")
    private String parentId;

    /**
     * 父级机构ID集合(用逗号隔开所有父级ID)
     */
    @Column(name = "parent_ids")
    private String parentIds;

    /**
     * 父级机构名字集合
     */
    @Column(name = "parent_name")
    private String parentName;

    /**
     * 机构描述
     */
    @Column(name = "organization_description")
    private String organizationDescription;

}